#include "ArchiveNumberSpace.h"

void ArchiveNumberSpace::setDefinitionId(int did) {
	definitionId = did;
}

int ArchiveNumberSpace::getDefinitionId() const {
	return definitionId;
}

void ArchiveNumberSpace::setClassificationId(int cid) {
	classificationId = cid;
}

int ArchiveNumberSpace::getClassificationId() const {
	return classificationId;
}

void ArchiveNumberSpace::setYear(int y) {
	year = y;
}

int ArchiveNumberSpace::getYear() const {
	return year;
}

void ArchiveNumberSpace::setDeptCode(string dCode) {
	deptCode = dCode;
}

void ArchiveNumberSpace::setDeptCode(char *dCode) {
	if(dCode) {
		deptCode.append(dCode);
	}
}

string ArchiveNumberSpace::getDeptCode() const {
	return deptCode;
}

void ArchiveNumberSpace::setRetentionId(int rId) {
	retentionId = rId;
}

int ArchiveNumberSpace::getRetentionId() const {
	return retentionId;
}

void ArchiveNumberSpace::setCount(unsigned long long c) {
	count = c;
}

unsigned long long ArchiveNumberSpace::getCount() const {
	return count;
}
